namespace Microsoft.VisualStudio.EnterpriseTools.OperationDesigner
{
    using System;

    [AttributeUsage(AttributeTargets.Class, AllowMultiple=true)]
    public sealed class OperationDesignerColumnAttribute : OperationDesignerBaseAttribute
    {
        private Type columnType;
        private float initialPercentage;

        public OperationDesignerColumnAttribute() : this(null)
        {
        }

        public OperationDesignerColumnAttribute(Type columnType)
        {
            this.columnType = columnType;
            this.initialPercentage = -1f;
        }

        public Type ColumnType
        {
            get
            {
                return this.columnType;
            }
        }

        public float InitialPercentage
        {
            get
            {
                return this.initialPercentage;
            }
            set
            {
                this.initialPercentage = value;
            }
        }
    }
}

